﻿// -------------------------------------------------------------------------------------------------------------------------------
// <copyright file="DecompositionAlgorithm.cs" company="Exul">
//     Copyright (c) Exul. All rights reserved.
// </copyright>
// <author>
//     Exul
// </author>
// -------------------------------------------------------------------------------------------------------------------------------

namespace ExulLibrary.Mathematics.LinearAlgebra
{
    /// <summary>
    ///     Indicates decomposition algorithm.
    /// </summary>
    public enum DecompositionAlgorithm
    {
        /// <summary>
        ///     Diagonal decomposition.
        /// </summary>
        Diagonal,

        /// <summary>
        ///     LU-decomposition. L is low triangular matrix. U is high triangular matrix with unit diagonal.
        /// </summary>
        LU,

        /// <summary>
        ///     LDLT-decomposition. L is low triangular matrix with unit diagonal. D is diagonal matrix.
        /// </summary>
        Ldlt
    }
}